<?php
namespace ElementVip\JwOms\Console;


use ElementVip\JwOms\Handler\GoodsHandle;
use ElementVip\JwOms\Services\GoodsService;
use Illuminate\Console\Command;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/7/28
 * Time: 12:09
 */
class GoodsCommand extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'oms:goods';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'run oms goods command';

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle(GoodsHandle $goodsHandle)
    {
        \Log::info('oms goods command');
        $goodsHandle->handle();
    }
}